﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.Project
{
    internal class ProjectTreeViewItem : ProjectFile
    {
        public ProjectTreeViewItem(bool isSelf = false)
        {
            this.NodeType = EProjectNodeType.File;
            this.Children = new ObservableCollection<ProjectNode>();
            this.IsSelf = isSelf;
        }
        public override ObservableCollection<ProjectNode> Children
        {
            get;
            set;
        }
        /// <summary>
        /// 文字颜色
        /// </summary>
        public string Foreground
        {
            get;
            set;
        }
        /// <summary>
        /// 文字加粗
        /// </summary>
        public string FontWeight
        { 
            get;
            set;
        }
        /// <summary>
        /// 是否选中
        /// </summary>
        public bool IsChecked
        {
            get;
            set;
        }
        /// <summary>
        /// 是否可用
        /// </summary>
        public bool IsEnabled
        {
            get;
            set;
        }
    }
}
